package com.situ.springboot.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
//@Getter
//@Setter
//@ToString
public class Blog {
    private Integer id;
    private String name;
    private String image;
    private Integer clickCount;
    @JsonIgnore
    private String content;
    private Integer typeId;
    private Integer status;
    private Integer isDeleted;//is_deleted
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;
}
